<div style='max-height:500px;overflow:auto;'>
    <table class="table table-hover">
        <thead>
        <th>粉丝</th>
        <th>操作</th>
        </thead>
        <tbody>
        {loop $ds $row}
        <tr>
            <td><img src='{$row['avatar']}' style='width:30px;height:30px;padding1px;border:1px solid #ccc' /> {$row['nickname']}</td>
            <td style="width:80px;"><a href="javascript:;" onclick='select_member({php echo json_encode($row);},"{$type}")'>选择</a></td>
        </tr>
        {/loop}
        {if count($ds)<=0}
        <tr>
            <td colspan='4' align='center'>未找到</td>
        </tr>
        {/if}
        </tbody>
    </table>
</div>